 

package com.zdkj.subway.stm.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zdkj.subway.stm.dto.in.SwStInvoiceCheckDTO;
import com.zdkj.subway.stm.entity.SwStInvoiceCatCheck;
import com.zdkj.subway.stm.entity.SwStInvoiceCatCheck;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * 长安通定额发票盘点
 *
 * @author cxp
 * @date 2024-11-20 20:09:08
 */
public interface SwStInvoiceCatCheckService extends IService<SwStInvoiceCatCheck> {
    // 分页查询
    IPage<SwStInvoiceCatCheck> page(Page page, SwStInvoiceCatCheck swStInvoiceCatCheck);

    // 查询前一月盘点数据
    SwStInvoiceCatCheck getPreviousMonthInvoiceCatCheck(String checkTime, int depth);

    // 新增或修改长安通定额发票盘点
    boolean saveOrUpdateInvoiceCatCheck(SwStInvoiceCatCheck swStInvoiceCatCheck);

    // 长安通定额发票盘点数据批量提交
    boolean updateApprovalStatus(List<Integer> ids, String status, String auditType);

    // 车站导出长安通定额发票盘点
    void exportInvoiceCatCheckForStation(Long id, HttpServletResponse response);

	 // 车站导出长安通定额发票盘点--全部车站多个sheet
    void exportInvoiceCatCheckForStationAll(String checkTime, HttpServletResponse response);

    // 审核页面导出长安通定额发票和西安中铁定额发票盘点
    void exportInvoiceCatCheckForApproval(SwStInvoiceCheckDTO swStInvoiceCheckDTO, HttpServletResponse response);
}
